package com.panfeng.xcloud.common.core.enums;

public enum ResultCodeEnum {
    SUCCESS(0, "请求成功"),
    BAD_REQUEST(400, "请求错误"),
    SERVER_EXCEPTION(500, "服务"),
    TRANSFER_EXCEPTION(402, "转账失败");

    private final int code;

    private final String remark;

    ResultCodeEnum(int code, String remark) {
        this.code = code;
        this.remark = remark;
    }

    public int getCode() {
        return this.code;
    }

    public String getRemark() {
        return this.remark;
    }

}